package org.example.osproject01.Object;

import java.util.ArrayList;
import java.util.List;

public class PublicResource {
    public static int allBlock;
    public static int spaceBlock;
    public static int allTape;
    public static int spaceTape;
    public static int timer;
    public static int timer2;
    public static List<Job> preInputQueue = new ArrayList<Job>();

    public static List<Job> poolQueue = new ArrayList<Job>();
    public static List<Job> readyQueue = new ArrayList<Job>();
    public static List<Job> runQueue = new ArrayList<Job>();
    public static List<Job> finishQueue = new ArrayList<Job>();

    public PublicResource(int allBlock,  int allTape) {
        this.allBlock = allBlock;
        this.spaceBlock = allBlock;
        this.allTape = allTape;
        this.spaceTape = allTape;
        this.timer = 0;
        this.timer2 = 0;
    }
}
